package com.dragon.modules.yuegou.model.message;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

public class Content implements Serializable{
	private static final long serialVersionUID = -5923793477386012968L;

	@ApiModelProperty("发消息会员ID")
	private String fromId;
	
	@ApiModelProperty("收消息会员ID")
	private String toId;
	
	@ApiModelProperty("会员头像")
	private String headImg;
	
	@ApiModelProperty("会员昵称")
	private String nickName;
	
	@ApiModelProperty("消息")
	private String message;
	
	@ApiModelProperty("是否触达")
	private Boolean reached;
	
	@ApiModelProperty("未读消息数量")
	private Integer unreadCount;
	
	@ApiModelProperty("时间")
	private LocalDateTime createdTime;

	public String getFromId() {
		return fromId;
	}

	public void setFromId(String fromId) {
		this.fromId = fromId;
	}

	public String getToId() {
		return toId;
	}

	public void setToId(String toId) {
		this.toId = toId;
	}

	public String getHeadImg() {
		return headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Boolean getReached() {
		return reached;
	}

	public void setReached(Boolean reached) {
		this.reached = reached;
	}

	public LocalDateTime getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	public Integer getUnreadCount() {
		return unreadCount;
	}

	public void setUnreadCount(Integer unreadCount) {
		this.unreadCount = unreadCount;
	}
	
}
